package com.motong.gongdan.vo.system.otherVo;

import com.motong.gongdan.entity.FormTableDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("编辑销售订单产品详情")
public class EditSalesOrderProductVo {

    @ApiModelProperty("销售订单内商品详情id")
    private Integer id;

    @ApiModelProperty("订单详情id")
    private Long depotItemId;

    @ApiModelProperty("产品id")
    private Integer productId;

    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("产品单位名称")
    private String productUnitName;

    @ApiModelProperty("工单id")
    private Integer workOrderId;

    @ApiModelProperty("工单编号")
    private String workOrderCode;

    @ApiModelProperty("数量(计划数)")
    private BigDecimal handleNumber;

    @ApiModelProperty("完成数")
    private BigDecimal finishNumber;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("erp产品id")
    private String erpProductId;

    @ApiModelProperty("自定义字段")
    private List<CustomFieldVo> customFieldVos;

    @ApiModelProperty("原数据")
    private FormTableDetail realData;

    @ApiModelProperty("型号")
    private String model;
}
